package com.hm.ipay.service;

import com.hm.ipay.domain.result.ResponseData;

import java.math.BigDecimal;

public interface TransferService {
    ResponseData transfer(Long id, Long targetId, BigDecimal amount);
    ResponseData switchToCredit(Long id, BigDecimal amount);
    void autoSwitchBack();
}
